package com.encryption.rpc.model
{
	[RemoteClass(alias="com.encryption.dao.Condition")]
	public class Condition
	{
		public static const EQ:String = "=";
		public static const GT:String = ">";
		public static const GE:String = ">=";
		public static const LT:String = "<";
		public static const LE:String = "<=";
		public static const LIKE:String = "like";
		public static const BETWEEN:String = "between";
		
		public var code:String;
		public var operation:String;
		public var value:Object;
		
		public function Condition(code:String="", operation="=", value:Object=null)
		{
			this.code = code;
			this.operation = operation;
			this.value = value;
		}
	}
}